package com.tpp.threat_perception_platform.dao;

import com.tpp.threat_perception_platform.param.MyParam;
import com.tpp.threat_perception_platform.pojo.Service;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author yokui
* @description 针对表【service(资产-服务表)】的数据库操作Mapper
* @createDate 2025-06-11 10:44:11
* @Entity com.tpp.threat_perception_platform.pojo.Service
*/
public interface ServiceMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Service record);

    int insertSelective(Service record);

    Service selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Service record);

    int updateByPrimaryKey(Service record);

    List<Service> findAll(@Param("param") MyParam param);
    int countByMacAddress(String macAddress);
    void deleteByMacAddress(String macAddress);

    int selectCount();
}
